using Rsd.Dudu;
using Rsd.Dudu.ModelProvider;
using Rsd.Dudu.ORM;
using Rsd.Faith.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Rsd.Faith.Models
{
    /// <summary>
    /// 增值（或称统筹）金额 - 收入
    /// </summary>
    [Table("bank_增值收益", "bank__zeng_zhi_shou_yi", "id")]
    [Serializable]
    public class BankZengZhiShouYiModel : Rsd.Faith.Core.ModelBase
    {
        /// <summary>
        /// 入账银行名称
        /// </summary>
        [StringType("hang_ming_cheng", "入账银行名称", 20, 100)]
        [DisplayName("入账银行名称")]
        public string YinHangMingCheng { get; set; }
        /// <summary>
        /// 银行账号
        /// </summary>
        [StringType("yin_hang_zhang_hao", "银行账号", 22, 100)]
        [DisplayName("银行账号")]
        public string YinHangZhangHao { get; set; }
        /// <summary>
        /// 收益归属所属周期
        /// </summary>
        [StringType("suo_shu_qi", "收益归属所属期", 24, 20)]
        [DisplayName("收益归属所属期")]
        public string SuoShuQi { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [StringType("ri_qi", "到账日期", 26, 30)]
        [DisplayName("到账日期")]
        public string RiQi { get; set; }
         
        /// <summary>
        /// 金额
        /// </summary>
        [NumericType("jin_e", "金额", 28, 20, 2)]
        [DisplayName("金额")]
        public decimal JinE { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        [StringType("zhai_yao", "摘要", 30, 200)]
        [DisplayName("摘要")]
        public string ZhaiYao { get; set; }

        /// <summary>
        /// 本金类型:住房,电梯消防设施
        /// </summary>
        [StringType("ben_jin_lei_xin", "本金类型", 32, 20)]
        [DisplayName("本金类型")]
        public BankBenJinLeiXin BenJinLeiXin { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public BankZengZhiShouYiModel()
        { }

    }
}
